import { Entity, Column, PrimaryColumn, PrimaryGeneratedColumn } from 'typeorm';

@Entity({name: 'activity'})
export class Activity {
  @PrimaryGeneratedColumn({name: 'r_id'})
  id: number;

  @Column({name: 'r_name'})
  name: string;

  @Column({name: 'r_startTime'})
  startDate: Date

  @Column({name: 'r_endTime'})
  endDate: Date
}
